package filefinder.finders;

import java.io.File;
import java.util.List;

public interface Finder {
	/**
	 * Search for string in file and add file path to list in case string found in the file
	 * 
	 * @param file
	 *            to search in
	 * @param toFind
	 *            string to search for
	 * @param list
	 *            where to add file in case string found in the file
	 */
	void find(final File file, final String toFind, final List list);
}
